package org.misty.redis.bloomfilter;

import lombok.*;

/**
 * @author Misty on 2020-05-31
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class BloomFilterConfig implements IFilterConfig {
    /**
     * 期望元素个数
     * 默认 10000
     */
    private Long expectedInsertions;
    /**
     * 假阳性率
     * 默认 0.001
     */
    private Double fpp;
    /**
     * redis中所使用的key
     */
    private String redisKey;
}
